package com.zzy.order.client;

import com.zzy.commonutils.ordervo.UcenterMemberOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Author KAZU
 * @Date 2023/1/24 13:52
 * @Version 1.0
 */
@SuppressWarnings({"all"})
@Component
@FeignClient("service-ucenter")
public interface UcenterClient {
	
	/**
	 * 远程调用 -> 根据id获取用户信息
	 * */
	@PostMapping("/ucenterservice/member/getUserInfoOrder/{id}")
	public UcenterMemberOrder getUserInfoOrder(@PathVariable("id") String id);
	
}
















